package br.com.fiap.atividade6.facade;

public aspect Facade {

	pointcut callsToEncapsulatedMethods(): 
		call(* (Decoration || Modelo || TransformaString).*(..));
	
	pointcut facade(): within(Facade);

	declare warning: callsToEncapsulatedMethods() && !facade():
		"Calling encapsulated method directly - use Facade methods instead";

}
